<script  lang="ts" setup>
import SearchBar from "@/components/SearchBar.vue"
import { ref } from "vue"

const searchOption = ref([
  {
    key: "code",
    label: "商户编码",
    type: "input",
    attrs: { placeholder: "请输入商户编码" }
  },
  {
    key: "name",
    label: "商户名称",
    type: "input",
    attrs: { placeholder: "请输入商户名称" }
  }
])
const searchBar = ref(null)
</script>

<template>
  <div>
    <SearchBar
      ref="searchBar"
      :search-option="searchOption"
    />
  </div>
</template>

<style lang="scss" scoped>
</style>
